package com.team24.hotel.service;

import com.sun.org.apache.xpath.internal.operations.Or;
import com.team24.hotel.domain.Order;

import java.util.List;

public interface OrderService {
    List<Order> findAll();

    Order findByPrimaryKey(String orderId);

    int saveOrUpdate(Order order);

    int deleteOrder(String parseInt);

    int updateOrderStatusToCompleted(String id);

    int updateOrderStatusToCancel(String id);

    int updateOrderStatusToNoPay(String id);

    int updateOrderStatusToPayed(String id);

    //hj
    List<Order> listHistoryOrder();


    int addOrderAndAddHot(Order order);
}
